package com.catbad.mapper;

import com.catbad.domain.Cinema;
import java.util.List;
import java.util.Map;

public interface CinemaMapper {
    int deleteByPrimaryKey(Long cid);

    int insert(Cinema record);

    Cinema selectByPrimaryKey(Long cid);

    List<Cinema> selectAll();

    int updateByPrimaryKey(Cinema record);
    //新加的
    Integer saveCinema(Cinema cinema);

    Cinema selectCinemaByName(String cname);

    long total(Map<String,Object> params);

    List<Map<String,Object>> findList(Map<String,Object> params);

    Map<String,Object> selectForSet(Long cid);

    List<Cinema> selectCinemaByAid(Long aid);

    Cinema selectCinemaByCaccount(String caccount);
}